package com.etone.smartAudit.dto.item;

import com.etone.smartAudit.enums.ItemSourceType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 蒋学伟
 * @create: 2020-07-17 11:33:24
 * @Description ItemExpansionSourceDTO
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "资源申请表单")
public class ItemExpansionSourceDTO implements Serializable {

    @ApiModelProperty("扩容id")
    private Integer ItemExpansionId;

    @ApiModelProperty("资源id")
    private Integer itemSourceId;

    @ApiModelProperty("资源名称")
    private String itemSourceName;

    @ApiModelProperty("扩容大小（单位：G）")
    private Double space;

    @ApiModelProperty("服务器id")
    private Integer serverId;

    @ApiModelProperty("服务器名称")
    private String serverName;

    @ApiModelProperty("服务器名称")
    private String serverIp;

    @ApiModelProperty("扩容数量")
    private Integer cnt;

    @ApiModelProperty("到期时间")
    private Date expireTime;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("端口")
    private Integer port;

    @ApiModelProperty("数据库名称")
    private String databaseName;

    @ApiModelProperty("schema")
    private String databaseSchema;

    @ApiModelProperty("存储路径")
    private String path;

    @ApiModelProperty("项目资源类型")
    private ItemSourceType type;
}
